﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true"
    CodeFile="Customer-Profile.aspx.cs" Inherits="Customer_Profile" %>

<<<<<<< .mine
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
=======
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">


<div>
>>>>>>> .r41
    <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="Large" 
                    Text="Thông Tin Khách Hàng"  ></asp:Label>
</div>
<div>
        <asp:Table ID="Table2" runat="server">
            <asp:TableRow>
                <asp:TableCell>
                    <asp:CheckBox ID="chkUpdate" runat="server" AutoPostBack="True" OnCheckedChanged="chkUpdate_CheckedChanged" />
                    Cập nhật thông tin
                </asp:TableCell>
                <asp:TableCell></asp:TableCell>
                <asp:TableCell></asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="lblName" runat="server" Text="Họ và Tên"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="tbxName" runat="server" Enabled="false" CssClass="text-input"></asp:TextBox>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" CssClass="notification"
                        ErrorMessage="Chưa nhập tên" Font-Bold="True" ForeColor="Red" ValidationGroup="formCus"
                        ControlToValidate="tbxName"></asp:RequiredFieldValidator>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="lblTelephone" runat="server" Text="Số điện thoại"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="tbxTelephone" runat="server" Enabled="false" CssClass="text-input"></asp:TextBox>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="tbxTelephone"
                        CssClass="notification" ErrorMessage="Chưa nhập số điện thoại" Font-Bold="True"
                        ForeColor="Red" ValidationGroup="formCus"></asp:RequiredFieldValidator>
                    <br />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="tbxTelephone"
                        ErrorMessage="Nhập sai định dạng" Font-Bold="True" ForeColor="Red" ValidationExpression="\d*"
                        ValidationGroup="formCus" CssClass="notification"></asp:RegularExpressionValidator>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="lblAddress" runat="server" Text="Địa Chỉ"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="tbxAddress" runat="server" Enabled="false" CssClass="text-input"
                        TextMode="MultiLine" Rows="5"></asp:TextBox>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="tbxAddress" CssClass="notification" 
                    ErrorMessage="Chưa nhập địa chỉ" Font-Bold="True" ForeColor="Red" 
                    ValidationGroup="formCus"></asp:RequiredFieldValidator>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="lblEmail" runat="server" Text="Email"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="tbxEmail" runat="server" Enabled="false" CssClass="text-input"></asp:TextBox>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                    ControlToValidate="tbxEmail" ErrorMessage="Nhập sai định dạng Email" 
                    Font-Bold="True" ForeColor="Red" ValidationExpression="[\w-]+@([\w-]+\.)+[\w-]+" 
                    ValidationGroup="formCus" CssClass="notification"></asp:RegularExpressionValidator>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="lblPerson" runat="server" Text="Người Giới Thiệu"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="tbxPerson" runat="server" Enabled="false" CssClass="text-input"></asp:TextBox>
                </asp:TableCell>
                <asp:TableCell></asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    </div>
    <br />
    <div>
        <asp:Button ID="btnContractRegister" runat="server" Text="Ký hợp đồng" CssClass="button"
            OnClick="btnContractRegister_Click" />
        &nbsp
        <asp:Button ID="btnUpdate" runat="server" Text="Cập nhật" CssClass="button" OnClick="btnUpdate_Click" ValidationGroup="formCus" />
    </div>
</asp:Content>
